$OpenBSD: patch-lib_facter_util_config_rb,v 1.5 2015/04/03 08:48:02 jasper Exp $
--- lib/facter/util/config.rb.orig	Fri Apr  3 10:45:07 2015
+++ lib/facter/util/config.rb	Fri Apr  3 10:45:20 2015
@@ -44,7 +44,7 @@ module Facter::Util::Config
         # Note: Beginning with Facter 3, /opt/puppetlabs/facter/facts.d will be the only
         # default external fact directory.
         @external_facts_dirs = ["/opt/puppetlabs/facter/facts.d",
-                                "/etc/facter/facts.d",
+                                "${SYSCONFDIR}/facter/facts.d",
                                 "/etc/puppetlabs/facter/facts.d"]
       else
         @external_facts_dirs = [File.join(windows_dir, 'PuppetLabs', 'facter', 'facts.d')]
